package org.rguess.patterns.responsibility.builder;

import java.util.Hashtable;

@SuppressWarnings({"rawtypes","unchecked"})
public class Shop {
	String type;
	Hashtable parts = new Hashtable();
	public void object(String key, String value) {
		parts.put(key, value);
	}

	public void show() {
		System.out.println("--------" + parts.get("type") + "--------");
		System.out.println("框架 ： " + parts.get("frame"));
		System.out.println("发动机 ： " + parts.get("engine"));
		System.out.println("车轮数量： " + parts.get("wheels"));
		System.out.println("车门数量： " + parts.get("doors"));
	}
}
